package com.zs.diveinspringbootkotlin.configuration

import com.zs.diveinspringbootkotlin.annotation.EnableHelloWorld
import com.zs.diveinspringbootkotlin.condition.ConditionOnSystemProperty
import org.springframework.context.annotation.Configuration

/**
 *
 * @description
 * @author madison
 * @date 2021/6/4 18:25
 *
 */
//@Configuration // Spring模式注解装配
@EnableHelloWorld  //Spring @Enable 模块装配
//@ConditionOnSystemProperty(name = "user.name", value = "madison")  //条件装配
class HelloWorldAutoConfiguration